package it.unisannio.lesim.dao;

import it.unisannio.lesim.util.exception.ConnectionPoolException;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Marco Calisti
 * @author Antonio Cuomo
 * @author Rocco Mazzeo
 * @author Francesco Pacilio
 * 
 */

public interface MessageDAOInterface {

    public ArrayList readMessages() throws ConnectionPoolException, SQLException;
    
    public ArrayList readConversations() throws ConnectionPoolException, SQLException;
    
    public ArrayList readMessagesFromConversation(String callId) throws ConnectionPoolException, SQLException;
    
    public ArrayList readMessagesFromIDs(String[] no) throws ConnectionPoolException, SQLException;
    
}
